package nccloud.arap.amortization.aggamortizationvo.util.rule;

import nc.impl.pubapp.pattern.rule.IRule;
import nc.vo.arap.amortization.AggAmortizationVO;
import nc.vo.arap.guaranteecost.AggGuaranteeCostVO;
import nc.vo.arap.manualcost.AggManualCostVO;
import nc.vo.pubapp.AppContext;

public class InsertDefaultValue implements IRule<AggAmortizationVO> {

	@Override
	public void process(AggAmortizationVO[] vos) { 
		for(AggAmortizationVO vo:vos) {
			vo.getParentVO().setPk_group(AppContext.getInstance().getPkGroup());
			vo.getParentVO().setApprovestatus(-1);
			//vo.getParentVO().setDbilldate(AppContext.getInstance().getBusiDate());
			vo.getParentVO().setMaketime(AppContext.getInstance().getServerTime());
		}
	}

}
